package inet.app.view.fragment;

import inet.app.model.util.MyPreferenceManager;
import inet.app.view.activity.MyApp;
import inet.app.view.activity.ThongKeFragment;
import android.content.res.Resources;
import android.os.Bundle;
import android.support.v4.app.Fragment;

public class BaseFragmentTK extends Fragment{
	protected ThongKeFragment mActivity;
	protected boolean isFree;
	protected MyApp mApplication;
	
	protected Resources mResources;
		
	@Override
	public void onCreate(Bundle savedInstanceState) {
		
		super.onCreate(savedInstanceState);
		
		mActivity = (ThongKeFragment)getActivity();

		mApplication = (MyApp) getActivity().getApplication();

		mResources = getResources();
		isFree = MyPreferenceManager.getInstance(mActivity.getApplicationContext()).isFree();
	}


	@Override
	public void onResume() {
		super.onResume();
	}
}
